﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ExpertSystem.Interfaces;

namespace ExpertSystem.Views
{
    public partial class EditVariableView : Form
    {
        #region MyRegion
        public EditVariableView(List<IVariable> variable,IConjunct conjunct)
        {
            InitializeComponent();
            //label1.Text = variable.Name;
            textBox1.Text = conjunct.Description;
            bindingSource1.DataSource = variable;
        } 
        #endregion

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
